package personnal.jonat.ui;

import org.apache.commons.lang3.math.NumberUtils;

public class NumberValidate {
	public static void isNumber(String text, String message) {
		if (NumberUtils.isNumber(text) == false) {
			throw new IllegalArgumentException(message);
		}
	}
}
